import fetch from '@/util/fetch'
// queryBeanProportion
export function bean_proportion_post(options) {
  return fetch({
    url: 'app/beans/bean_proportion',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryBeanRule
export function bean_rule_post(options) {
  return fetch({
    url: 'app/beans/bean_rule',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryFlowList
export function flow_list_post(options) {
  return fetch({
    url: 'app/beans/flow_list',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryUserBeans
export function query_user_beans_post(options) {
  return fetch({
    url: 'app/beans/query_user_beans',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// signAddBean
export function sign_add_beans_post(options) {
  return fetch({
    url: 'app/beans/sign_add_beans',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryUserStatus
export function user_status_post(options) {
  return fetch({
    url: 'app/beans/user_status',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}
